<!-- $Id: service_zc_info.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
<div class="main-div">
<form method="post" action="rg_service_zc.php" name="theForm" enctype="multipart/form-data" onsubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">
  <tr>
    <td class="label">{$lang.service_zc_name}</td>
    <td><input type="text" name="title" maxlength="60" size = "30" value="{$service_zc.title|escape}" />{$lang.require_field}</td>
  </tr>
  <tr>
    <td class="label">{$lang.service_zc_desc}</td>
    <td><textarea  name="zc_desc" cols="60" rows="8">{$service_zc.zc_desc|escape}</textarea></td>
  </tr>
	<tr>
    <td class="label">链接</td>
    <td><input type="text" name="link" maxlength="60" size = "30" value="{$service_zc.link|escape}" />{$lang.require_field}</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      <input type="submit" class="button" value="{$lang.button_submit}" />
      <input type="reset" class="button" value="{$lang.button_reset}" />
        <input type="hidden" name="act" value="{$form_action}" />
      <input type="hidden" name="id" value="{$service_zc.id}" />
        <input type="hidden" name="old_title" value="{$service_zc.title}" />
    </td>
  </tr>
</table>
</form>
</div>
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
document.forms['theForm'].elements['title'].focus();
/**
 * 检查表单输入的数据
 */
function validate()
{
  validator = new Validator("theForm");
  validator.required("title",  no_service_zcname);
  validator.required("link",  "链接必填");
  return validator.passed();
}

onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}